package com.wzcl.app.service;

import com.wzcl.app.dao.model.KnowledgePoint;
import com.wzcl.app.model.common.MyPage;
import com.wzcl.app.model.dto.KnowledgePointDto;

import java.util.List;

public interface KnowledgePointService extends BaseService<KnowledgePoint, KnowledgePointDto> {

    KnowledgePoint  saveKnowledgePoint(KnowledgePoint knowledgePoint);

    KnowledgePoint  updateKnowledgePoint(KnowledgePointDto knowledgePointDto);

    KnowledgePoint  delKnowledgePointById(Integer id);

    KnowledgePoint  getKnowledgePointById(Integer id);

    KnowledgePoint  findByProperty(KnowledgePointDto knowledgePointDto);

    List<KnowledgePoint> getKnowledgePointList(KnowledgePointDto knowledgePointDto);

    List<KnowledgePoint> getKnowledgePointByTopicId(Integer topicId);

    MyPage<KnowledgePoint> getKnowledgePointPage(KnowledgePointDto knowledgePointDto);
}
